/*
 * XML Type:  OptionInfo
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.OptionInfo
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04;


/**
 * An XML OptionInfo(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public interface OptionInfo extends net.ofx.types.x2003.x04.AbstractSecurityInfo
{
    public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)schema.system.s3A74FF4CC3627C5B0D40068015746F8A.TypeSystemHolder.typeSystem.resolveHandle("optioninfobd3ftype");
    
    /**
     * Gets the "OPTTYPE" element
     */
    net.ofx.types.x2003.x04.OptionTypeEnum.Enum getOPTTYPE();
    
    /**
     * Gets (as xml) the "OPTTYPE" element
     */
    net.ofx.types.x2003.x04.OptionTypeEnum xgetOPTTYPE();
    
    /**
     * Sets the "OPTTYPE" element
     */
    void setOPTTYPE(net.ofx.types.x2003.x04.OptionTypeEnum.Enum opttype);
    
    /**
     * Sets (as xml) the "OPTTYPE" element
     */
    void xsetOPTTYPE(net.ofx.types.x2003.x04.OptionTypeEnum opttype);
    
    /**
     * Gets the "STRIKEPRICE" element
     */
    java.lang.String getSTRIKEPRICE();
    
    /**
     * Gets (as xml) the "STRIKEPRICE" element
     */
    net.ofx.types.x2003.x04.UnitPriceType xgetSTRIKEPRICE();
    
    /**
     * Sets the "STRIKEPRICE" element
     */
    void setSTRIKEPRICE(java.lang.String strikeprice);
    
    /**
     * Sets (as xml) the "STRIKEPRICE" element
     */
    void xsetSTRIKEPRICE(net.ofx.types.x2003.x04.UnitPriceType strikeprice);
    
    /**
     * Gets the "DTEXPIRE" element
     */
    java.lang.String getDTEXPIRE();
    
    /**
     * Gets (as xml) the "DTEXPIRE" element
     */
    net.ofx.types.x2003.x04.DateTimeType xgetDTEXPIRE();
    
    /**
     * Sets the "DTEXPIRE" element
     */
    void setDTEXPIRE(java.lang.String dtexpire);
    
    /**
     * Sets (as xml) the "DTEXPIRE" element
     */
    void xsetDTEXPIRE(net.ofx.types.x2003.x04.DateTimeType dtexpire);
    
    /**
     * Gets the "SHPERCTRCT" element
     */
    java.lang.String getSHPERCTRCT();
    
    /**
     * Gets (as xml) the "SHPERCTRCT" element
     */
    net.ofx.types.x2003.x04.SharesPerType xgetSHPERCTRCT();
    
    /**
     * Sets the "SHPERCTRCT" element
     */
    void setSHPERCTRCT(java.lang.String shperctrct);
    
    /**
     * Sets (as xml) the "SHPERCTRCT" element
     */
    void xsetSHPERCTRCT(net.ofx.types.x2003.x04.SharesPerType shperctrct);
    
    /**
     * Gets the "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId getSECID();
    
    /**
     * True if has "SECID" element
     */
    boolean isSetSECID();
    
    /**
     * Sets the "SECID" element
     */
    void setSECID(net.ofx.types.x2003.x04.SecurityId secid);
    
    /**
     * Appends and returns a new empty "SECID" element
     */
    net.ofx.types.x2003.x04.SecurityId addNewSECID();
    
    /**
     * Unsets the "SECID" element
     */
    void unsetSECID();
    
    /**
     * Gets the "ASSETCLASS" element
     */
    net.ofx.types.x2003.x04.AssetClassEnum.Enum getASSETCLASS();
    
    /**
     * Gets (as xml) the "ASSETCLASS" element
     */
    net.ofx.types.x2003.x04.AssetClassEnum xgetASSETCLASS();
    
    /**
     * True if has "ASSETCLASS" element
     */
    boolean isSetASSETCLASS();
    
    /**
     * Sets the "ASSETCLASS" element
     */
    void setASSETCLASS(net.ofx.types.x2003.x04.AssetClassEnum.Enum assetclass);
    
    /**
     * Sets (as xml) the "ASSETCLASS" element
     */
    void xsetASSETCLASS(net.ofx.types.x2003.x04.AssetClassEnum assetclass);
    
    /**
     * Unsets the "ASSETCLASS" element
     */
    void unsetASSETCLASS();
    
    /**
     * Gets the "FIASSETCLASS" element
     */
    java.lang.String getFIASSETCLASS();
    
    /**
     * Gets (as xml) the "FIASSETCLASS" element
     */
    net.ofx.types.x2003.x04.GenericNameType xgetFIASSETCLASS();
    
    /**
     * True if has "FIASSETCLASS" element
     */
    boolean isSetFIASSETCLASS();
    
    /**
     * Sets the "FIASSETCLASS" element
     */
    void setFIASSETCLASS(java.lang.String fiassetclass);
    
    /**
     * Sets (as xml) the "FIASSETCLASS" element
     */
    void xsetFIASSETCLASS(net.ofx.types.x2003.x04.GenericNameType fiassetclass);
    
    /**
     * Unsets the "FIASSETCLASS" element
     */
    void unsetFIASSETCLASS();
    
    /**
     * A factory class with static methods for creating instances
     * of this type.
     */
    
    public static final class Factory
    {
        public static net.ofx.types.x2003.x04.OptionInfo newInstance() {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo newInstance(org.apache.xmlbeans.XmlOptions options) {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.lang.String s) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.lang.String s, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( s, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.File f) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.File f, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( f, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
        
        public static net.ofx.types.x2003.x04.OptionInfo parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return (net.ofx.types.x2003.x04.OptionInfo) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
        
        public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
          return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
        
        private Factory() { } // No instance of this class allowed
    }
}
